package com.itheima.health.dao;


import com.github.pagehelper.Page;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Setmeal;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SetmealDao {
    /**
     * 新增套餐基本信息
     * @param setmeal
     */
   void insertAdd(Setmeal setmeal);

    /**
     *新增加套餐与检查组关联
     * @param setmeal_id
     * @param checkgroup_id
     */
   void  insertSetmeal_Checkgroup(@Param("setmeal_id") Integer setmeal_id ,
                                  @Param("checkgroup_id") Integer checkgroup_id);


    /**
     *  套餐管理分页
     * @param queryString
     * @return
     */
    Page<Setmeal> selectfindPage(@Param("queryString") String queryString );


}
